﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityPet
{
    /// <summary>
    /// 护理套餐表
    /// </summary>
    public class Pet_Caremenu:MessageChange
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Required]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        /// 套餐服务名称1.毛皮护理 2.口腔护理 3.头部护理 4.修剪
        /// </summary>
        [Required]
        public Package Packages { get; set; }

        public enum Package
        {
            毛皮护理=0,
            口腔护理=1,
            头部护理=2,
            修剪=3
        }

        /// <summary>
        /// 套餐价格
        /// </summary>
        [Required]
        public float Money { get; set; }

        /// <summary>
        /// 是否是会员
        /// </summary>
        [Required]
        public bool IsVip { get; set; }

        /// <summary>
        /// 会员优惠折扣（几折按小数）
        /// </summary>
        public double VipDiscount { get; set; }

    }
}
